<h1>Listing pois</h1>

<table>
  <tr>
    <th>Radius</th>
    <th>Xcoordinate</th>
    <th>Ycoordinate</th>
    <th>Description</th>
    <th>User</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @pois.each do |poi| %>
  <tr>
    <td><%= poi.Radius %></td>
    <td><%= poi.XCoordinate %></td>
    <td><%= poi.YCoordinate %></td>
    <td><%= poi.Description %></td>
    <td><%= poi.user_id %></td>
    <td><%= link_to 'Show', poi %></td>
    <td><%= link_to 'Edit', edit_poi_path(poi) %></td>
    <td><%= link_to 'Destroy', poi, confirm: 'Are you sure?', method: :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Poi', new_poi_path %>
